﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Responsibility.Handle
{
    public class SecondHandle : BaseHandle
    {

        public override void Excuted(int i)
        {
            if (i < 10)
            {
                Console.WriteLine("传入值{0}，second处理成功", i);
            }
            else
            {
                Console.WriteLine("second处理失败，转入下个流程", i);
                this._baseHandle.Excuted(i);
            }
        }
    }
}
